import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/panel/tags',
    method: 'get',
    params: query
  })
}
export function fetchArticleList(tag_id) {
  return request({
    url: `/panel/tags/${tag_id}`,
    method: 'get'
  })
}
